<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>背景视频切换</title>
  <link rel="stylesheet" href="index.css">
</head>
<body>
  <section>
    <video id="slider" autoplay muted loop>
      <source src="https://cloud.video.taobao.com//play/u/386715097/p/1/e/6/t/1/268494275631.mp4" type="video/mp4">
    </video>
    <ul class="navigation">
      <li onclick="videoUrl('https://cloud.video.taobao.com//play/u/386715097/p/1/e/6/t/1/268494275631.mp4')">
        <img src="../static/img/back01_cover.jpg" alt="">
      </li>
      <li onclick="videoUrl('https://cloud.video.taobao.com//play/u/386715097/p/1/e/6/t/1/268298374815.mp4')">
        <img src="../static/img/back02_cover.jpg" alt="">
      </li>
      <li onclick="videoUrl('https://cloud.video.taobao.com//play/u/386715097/p/1/e/6/t/1/267877304901.mp4')">
        <img src="../static/img/back03_cover.jpg" alt="">
      </li>
      <li onclick="videoUrl('https://cloud.video.taobao.com//play/u/386715097/p/1/e/6/t/1/268494647735.mp4')">
        <img src="../static/img/back04_cover.jpg" alt="">
      </li>
    </ul>
  </section>
  <script src="index.js"></script>
</body>
</html>